<HTML><HEAD><TITLE>contigs(+List, +Item, ?MaxLength, ?Occurrences, ?Contigs)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(fd)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>contigs(+List, +Item, ?MaxLength, ?Occurrences, ?Contigs)</H1>
MaxLength is the longest sequence of Item occurring in List, Occurrences is
the total number of occurrences of Item in List and Contigs is the number
of sequences of Item in List.


<DL>
<DT><EM>+List</EM></DT>
<DD>A list of finite domain variables or integers
</DD>
<DT><EM>+Item</EM></DT>
<DD>An integer
</DD>
<DT><EM>?MaxLength</EM></DT>
<DD>An integer finite domain variable or an integer.
</DD>
<DT><EM>?Occurrences</EM></DT>
<DD>An integer finite domain variable or an integer.
</DD>
<DT><EM>?Contigs</EM></DT>
<DD>An integer finite domain variable or an integer.
</DD>
</DL>
<H2>Description</H2>
   The constraint is satisfied when MaxLength is the longest sequence of
   Item occurring in List, Occurrences is the total number of occurrences
   of Item in List and Contigs is the number of all uninterrupted sequences
   of Item in List.

<P>

<H3>Fail Conditions</H3>
   None.


<H3>Resatisfiable</H3>
   No.
<H2>See Also</H2>
<A HREF="../../lib/fd/sequence-4.html">sequence / 4</A>
</BODY></HTML>
